home *** CD-ROM | disk | FTP | other *** search
- #include <A4Stuff.h>
-
- int myEqualString(unsigned char x[], unsigned char y[])
- {
- if (x[0] != y[0])
- return(0);
- else {
- int i;
- for(i=1; i<=x[0]; i++)
- if (x[i] != y[i])
- return(0);
- return(1);
- }
- }
-
- #define EXPORT(n,x,y) { if (myEqualString(n,y)) return &x; }
- #define LOADER_INIT(x) { if (x == NULL) \
- { SetCurrentA4(); return (void *) GetCurrentA4();} }
- #define LOADER_ERROR() return 0L;
-